package com.tongji.showroom.view
{
	import com.tongji.showroom.events.ShowRoomEvent;
	
	import org.robotlegs.mvcs.Mediator;
	
	
	/**
	 * 
	 * @author Barbiel
	 * 2011-8-5
	 */
	public class SecondLayerEditPointDataListItemRendererMediator extends Mediator
	{
		[Inject]
		public var view:SecondLayerEditPointDataListItemRenderer;
		
		override public function onRegister():void
		{
			view.addEventListener(ShowRoomEvent.SHOW_ROOM, showRoom);		
		}
		
		public function showRoom(event:ShowRoomEvent):void
		{
			view.disPlayBtn.selected = true;
		}
	}
}